========================================
AGENT SYSTEM - QUICK START GUIDE
========================================

🚀 3 CARA INSTALL DATABASE AGENT SYSTEM

========================================
CARA 1: VIA ADMIN SETTINGS (RECOMMENDED)
========================================

1. Login ke MikhMon
   URL: http://localhost/mikhmon/admin.php?id=login
   User: mikhmon
   Pass: 1234

2. Pilih Session (contoh: ALIJAYA-NET)

3. Klik menu "Settings" di sidebar
   Atau akses: http://localhost/mikhmon/admin.php?id=settings&session=ALIJAYA-NET

4. Scroll ke bawah, cari card "Agent/Reseller System"

5. Klik tombol "Install Agent System"

6. Ikuti wizard instalasi (3 langkah)

7. Done! ✅

========================================
CARA 2: VIA STANDALONE INSTALLER
========================================

1. Buka browser

2. Akses: http://localhost/mikhmon/install_agent_system.php

3. Ikuti 3 langkah:
   - Step 1: Test koneksi database
   - Step 2: Install database
   - Step 3: Selesai!

4. Done! ✅

========================================
CARA 3: VIA MANUAL SQL IMPORT
========================================

1. Buka phpMyAdmin atau MySQL client

2. Import file: mikhmon/database/agent_system.sql

3. Edit file: mikhmon/include/db_config.php
   
   define('DB_HOST', 'localhost');
   define('DB_USER', 'root');
   define('DB_PASS', '');
   define('DB_NAME', 'mikhmon_agents');

4. Done! ✅

========================================
SETELAH INSTALL
========================================

ADMIN PANEL:
1. Login MikhMon
2. Klik menu "Agent/Reseller" di sidebar
3. Mulai kelola agent!

Menu yang tersedia:
- Daftar Agent
- Tambah Agent
- Kelola Harga
- Topup Saldo
- Transaksi Agent

AGENT PANEL:
1. Akses: http://localhost/mikhmon/agent/
2. Login: 081234567890 / agent123
3. Mulai generate voucher!

========================================
LOKASI FILE PENTING
========================================

Installer:
- mikhmon/install_agent_system.php

Settings Card:
- mikhmon/settings/agent_setup_card.php

Database:
- mikhmon/database/agent_system.sql

Config:
- mikhmon/include/db_config.php

Admin Panel:
- mikhmon/agent-admin/*.php

Agent Panel:
- mikhmon/agent/*.php

Dokumentasi:
- mikhmon/AGENT_SYSTEM_README.md
- mikhmon/INSTALLATION_GUIDE.txt
- mikhmon/QUICK_START.txt (file ini)

========================================
TROUBLESHOOTING
========================================

Q: Card Agent System tidak muncul di settings?
A: Tambahkan include di settings.php:
   include('./settings/agent_setup_card.php');

Q: Database error saat install?
A: - Cek MySQL running
   - Cek username & password benar
   - Cek user punya permission CREATE DATABASE

Q: Menu Agent tidak muncul di sidebar?
A: - Clear browser cache (Ctrl+F5)
   - Logout dan login kembali
   - Cek file menu.php sudah terupdate

========================================
SUPPORT
========================================

📖 Dokumentasi Lengkap:
   mikhmon/AGENT_SYSTEM_README.md

📋 Installation Guide:
   mikhmon/INSTALLATION_GUIDE.txt

🌐 Website:
   https://mikhmon.com

💬 Forum:
   https://forum.mikhmon.com

========================================

🎉 SELAMAT MENGGUNAKAN AGENT SYSTEM!

Pilih cara install yang paling mudah untuk Anda:
- Via Admin Settings (paling mudah)
- Via Standalone Installer
- Via Manual SQL Import

Happy Selling! 🚀

========================================
